package cn.doitedu.rtdw.udf;

import org.apache.flink.table.functions.ScalarFunction;

public class StrArrayLen extends ScalarFunction {

    public int eval(String showItems,String separator){
        return showItems==null?0:showItems.split(separator).length;
    }
}
